package com.niiwoo.civet.account.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccountFundTransferOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountFundTransferOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRequestNoIsNull() {
            addCriterion("request_no is null");
            return (Criteria) this;
        }

        public Criteria andRequestNoIsNotNull() {
            addCriterion("request_no is not null");
            return (Criteria) this;
        }

        public Criteria andRequestNoEqualTo(String value) {
            addCriterion("request_no =", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotEqualTo(String value) {
            addCriterion("request_no <>", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoGreaterThan(String value) {
            addCriterion("request_no >", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoGreaterThanOrEqualTo(String value) {
            addCriterion("request_no >=", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoLessThan(String value) {
            addCriterion("request_no <", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoLessThanOrEqualTo(String value) {
            addCriterion("request_no <=", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoLike(String value) {
            addCriterion("request_no like", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotLike(String value) {
            addCriterion("request_no not like", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoIn(List<String> values) {
            addCriterion("request_no in", values, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotIn(List<String> values) {
            addCriterion("request_no not in", values, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoBetween(String value1, String value2) {
            addCriterion("request_no between", value1, value2, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotBetween(String value1, String value2) {
            addCriterion("request_no not between", value1, value2, "requestNo");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdIsNull() {
            addCriterion("pay_account_id is null");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdIsNotNull() {
            addCriterion("pay_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdEqualTo(Long value) {
            addCriterion("pay_account_id =", value, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdNotEqualTo(Long value) {
            addCriterion("pay_account_id <>", value, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdGreaterThan(Long value) {
            addCriterion("pay_account_id >", value, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdGreaterThanOrEqualTo(Long value) {
            addCriterion("pay_account_id >=", value, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdLessThan(Long value) {
            addCriterion("pay_account_id <", value, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdLessThanOrEqualTo(Long value) {
            addCriterion("pay_account_id <=", value, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdIn(List<Long> values) {
            addCriterion("pay_account_id in", values, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdNotIn(List<Long> values) {
            addCriterion("pay_account_id not in", values, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdBetween(Long value1, Long value2) {
            addCriterion("pay_account_id between", value1, value2, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountIdNotBetween(Long value1, Long value2) {
            addCriterion("pay_account_id not between", value1, value2, "payAccountId");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoIsNull() {
            addCriterion("pay_account_no is null");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoIsNotNull() {
            addCriterion("pay_account_no is not null");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoEqualTo(String value) {
            addCriterion("pay_account_no =", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoNotEqualTo(String value) {
            addCriterion("pay_account_no <>", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoGreaterThan(String value) {
            addCriterion("pay_account_no >", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoGreaterThanOrEqualTo(String value) {
            addCriterion("pay_account_no >=", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoLessThan(String value) {
            addCriterion("pay_account_no <", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoLessThanOrEqualTo(String value) {
            addCriterion("pay_account_no <=", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoLike(String value) {
            addCriterion("pay_account_no like", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoNotLike(String value) {
            addCriterion("pay_account_no not like", value, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoIn(List<String> values) {
            addCriterion("pay_account_no in", values, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoNotIn(List<String> values) {
            addCriterion("pay_account_no not in", values, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoBetween(String value1, String value2) {
            addCriterion("pay_account_no between", value1, value2, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountNoNotBetween(String value1, String value2) {
            addCriterion("pay_account_no not between", value1, value2, "payAccountNo");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleIsNull() {
            addCriterion("pay_account_role is null");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleIsNotNull() {
            addCriterion("pay_account_role is not null");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleEqualTo(Byte value) {
            addCriterion("pay_account_role =", value, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleNotEqualTo(Byte value) {
            addCriterion("pay_account_role <>", value, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleGreaterThan(Byte value) {
            addCriterion("pay_account_role >", value, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_account_role >=", value, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleLessThan(Byte value) {
            addCriterion("pay_account_role <", value, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleLessThanOrEqualTo(Byte value) {
            addCriterion("pay_account_role <=", value, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleIn(List<Byte> values) {
            addCriterion("pay_account_role in", values, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleNotIn(List<Byte> values) {
            addCriterion("pay_account_role not in", values, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleBetween(Byte value1, Byte value2) {
            addCriterion("pay_account_role between", value1, value2, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andPayAccountRoleNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_account_role not between", value1, value2, "payAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdIsNull() {
            addCriterion("receive_account_id is null");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdIsNotNull() {
            addCriterion("receive_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdEqualTo(Long value) {
            addCriterion("receive_account_id =", value, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdNotEqualTo(Long value) {
            addCriterion("receive_account_id <>", value, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdGreaterThan(Long value) {
            addCriterion("receive_account_id >", value, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdGreaterThanOrEqualTo(Long value) {
            addCriterion("receive_account_id >=", value, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdLessThan(Long value) {
            addCriterion("receive_account_id <", value, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdLessThanOrEqualTo(Long value) {
            addCriterion("receive_account_id <=", value, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdIn(List<Long> values) {
            addCriterion("receive_account_id in", values, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdNotIn(List<Long> values) {
            addCriterion("receive_account_id not in", values, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdBetween(Long value1, Long value2) {
            addCriterion("receive_account_id between", value1, value2, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountIdNotBetween(Long value1, Long value2) {
            addCriterion("receive_account_id not between", value1, value2, "receiveAccountId");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoIsNull() {
            addCriterion("receive_account_no is null");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoIsNotNull() {
            addCriterion("receive_account_no is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoEqualTo(String value) {
            addCriterion("receive_account_no =", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoNotEqualTo(String value) {
            addCriterion("receive_account_no <>", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoGreaterThan(String value) {
            addCriterion("receive_account_no >", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoGreaterThanOrEqualTo(String value) {
            addCriterion("receive_account_no >=", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoLessThan(String value) {
            addCriterion("receive_account_no <", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoLessThanOrEqualTo(String value) {
            addCriterion("receive_account_no <=", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoLike(String value) {
            addCriterion("receive_account_no like", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoNotLike(String value) {
            addCriterion("receive_account_no not like", value, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoIn(List<String> values) {
            addCriterion("receive_account_no in", values, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoNotIn(List<String> values) {
            addCriterion("receive_account_no not in", values, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoBetween(String value1, String value2) {
            addCriterion("receive_account_no between", value1, value2, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountNoNotBetween(String value1, String value2) {
            addCriterion("receive_account_no not between", value1, value2, "receiveAccountNo");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleIsNull() {
            addCriterion("receive_account_role is null");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleIsNotNull() {
            addCriterion("receive_account_role is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleEqualTo(Byte value) {
            addCriterion("receive_account_role =", value, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleNotEqualTo(Byte value) {
            addCriterion("receive_account_role <>", value, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleGreaterThan(Byte value) {
            addCriterion("receive_account_role >", value, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleGreaterThanOrEqualTo(Byte value) {
            addCriterion("receive_account_role >=", value, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleLessThan(Byte value) {
            addCriterion("receive_account_role <", value, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleLessThanOrEqualTo(Byte value) {
            addCriterion("receive_account_role <=", value, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleIn(List<Byte> values) {
            addCriterion("receive_account_role in", values, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleNotIn(List<Byte> values) {
            addCriterion("receive_account_role not in", values, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleBetween(Byte value1, Byte value2) {
            addCriterion("receive_account_role between", value1, value2, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andReceiveAccountRoleNotBetween(Byte value1, Byte value2) {
            addCriterion("receive_account_role not between", value1, value2, "receiveAccountRole");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBatchNoIsNull() {
            addCriterion("batch_no is null");
            return (Criteria) this;
        }

        public Criteria andBatchNoIsNotNull() {
            addCriterion("batch_no is not null");
            return (Criteria) this;
        }

        public Criteria andBatchNoEqualTo(String value) {
            addCriterion("batch_no =", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoNotEqualTo(String value) {
            addCriterion("batch_no <>", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoGreaterThan(String value) {
            addCriterion("batch_no >", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoGreaterThanOrEqualTo(String value) {
            addCriterion("batch_no >=", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoLessThan(String value) {
            addCriterion("batch_no <", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoLessThanOrEqualTo(String value) {
            addCriterion("batch_no <=", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoLike(String value) {
            addCriterion("batch_no like", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoNotLike(String value) {
            addCriterion("batch_no not like", value, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoIn(List<String> values) {
            addCriterion("batch_no in", values, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoNotIn(List<String> values) {
            addCriterion("batch_no not in", values, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoBetween(String value1, String value2) {
            addCriterion("batch_no between", value1, value2, "batchNo");
            return (Criteria) this;
        }

        public Criteria andBatchNoNotBetween(String value1, String value2) {
            addCriterion("batch_no not between", value1, value2, "batchNo");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerIsNull() {
            addCriterion("update_manager is null");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerIsNotNull() {
            addCriterion("update_manager is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerEqualTo(Long value) {
            addCriterion("update_manager =", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerNotEqualTo(Long value) {
            addCriterion("update_manager <>", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerGreaterThan(Long value) {
            addCriterion("update_manager >", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerGreaterThanOrEqualTo(Long value) {
            addCriterion("update_manager >=", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerLessThan(Long value) {
            addCriterion("update_manager <", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerLessThanOrEqualTo(Long value) {
            addCriterion("update_manager <=", value, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerIn(List<Long> values) {
            addCriterion("update_manager in", values, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerNotIn(List<Long> values) {
            addCriterion("update_manager not in", values, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerBetween(Long value1, Long value2) {
            addCriterion("update_manager between", value1, value2, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateManagerNotBetween(Long value1, Long value2) {
            addCriterion("update_manager not between", value1, value2, "updateManager");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}